import React from 'react'
import './index.css'
import dh from '../../../static/img/paysuc/dh.png';
import {useNavigate}from 'react-router-dom';
export default function PayYes() {
    let navigate = useNavigate()
    function gohome(){
        navigate('/')
    }
    function gobill(){
        navigate('/mycenter/mybill')
    }
    return (
        <div>
            <ul className='pyes'>
                <li className='pyes-li1'>
                    <div><img src={dh} alt="" /></div>
                    <p>支付成功</p>
                </li>
                <li className='pyes-li2'>
                    <span><button onClick={gobill} style={{backgroundColor:'#F08200'}}>查看订单</button></span>
                    <span><button onClick={gohome} style={{backgroundColor:'#498E3D'}}>返回首页</button></span>
                </li>
                <li className='pyes-li3'>订单编号：123103820983029387</li>
            </ul>
        </div>
    )
}
